package com.hoshiicloud.goods.param.goods;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
* <p>
* 新增商品规格参数
* </p>
*
* @author zhangshuhu
* @since 2019-06-04
*/

@Data
@ApiModel(value="新增商品规格", description="新增商品规格")
public class GoodsSpecificationsAddParam implements Serializable {
    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "规格名称")
    @NotBlank(message = "规格名称不能为空")
    private String specName;
    
    @ApiModelProperty(value = "规格类型")
    @NotBlank(message = "规格类型不能为空")
    private String specType;

    @ApiModelProperty(value = "租户Id",hidden = true)
    private Long companyId;

    @ApiModelProperty(value = "创建人",hidden = true)
    private String createdBy;
}
